package com.cskaoyan.javase.oop1._11static._5exercise;

/**
 * 类加载在前,创建对象在后
 *
 * @since 11:16
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Demo {
    public static void main(String[] args) {
        Student c = new Student("大黄");
    }
}

class Student {
    static int age = 100;
    String name = "小花";

    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }
}